package com.oa.common.dto;

import java.io.Serializable;

public class UserDto implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 2955401815911565531L;

    /** 用户名 **/
    private String username;

    /** 邮件 **/
    private String email;

    /** 手机号码**/
    private String phone;

    /** 部门的id **/
    private Long departmentId;

    /** 电话 **/
    private String telphone;

    /** 地址 **/
    private String address;

    /** 邮编 **/
    private String postcode;

    /** 学历 **/
    private String education;

    /** 入职时间 **/
    private Long jobTime;

    /** 姓名 **/
    private String realName;

    /** 权限的id **/
    private Long roleId;

    private Integer sex;

    /** 工作照 **/
    private String picture;

    /** 头像 **/
    private String portrait;

    private Long positionId;


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Long getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public Long getJobTime() {
        return jobTime;
    }

    public void setJobTime(Long jobTime) {
        this.jobTime = jobTime;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait;
    }

    public Long getPositionId() {
        return positionId;
    }

    public void setPositionId(Long positionId) {
        this.positionId = positionId;
    }

    @Override
    public String toString() {
        return "UserDto{" +
                "username='" + username + '\'' +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", departmentId=" + departmentId +
                ", telphone='" + telphone + '\'' +
                ", address='" + address + '\'' +
                ", postcode='" + postcode + '\'' +
                ", education='" + education + '\'' +
                ", jobTime=" + jobTime +
                ", realName='" + realName + '\'' +
                ", roleId=" + roleId +
                ", sex=" + sex +
                ", picture='" + picture + '\'' +
                ", portrait='" + portrait + '\'' +
                ", positionId=" + positionId +
                '}';
    }
}
